/**
 * @Project Name:sentinel-dubbo-service
 * @Package Name:cn.hoofungson.studio.sentinel.dubbo.service.interfaces.domain.dto.user
 * @Since JDK 1.8
 */
package cn.hoofungson.studio.sentinel.dubbo.service.interfaces.domain.dto.user;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Description: 用户DTO
 * @Author 胡松 hoofungson@163.com
 * @Date 2019-05-29 21:29
 * @Version V1.0
 */
@Data
@NoArgsConstructor
public class UserDTO implements Serializable {

    private Long id;
    private String username;
    private String nickName;
    private String realName;
    private String password;

    public UserDTO(Long id, String username) {
        this.id = id;
        this.username = username;
    }
}
